
{volist name="articles" id="article"}
<article>
    <div class="_head">
        <h1>{$article.title}</h1>
        <span>作者：{$article.author}</span>
        •
        <!--pubdate表⽰示发布日期-->
        <time pubdate="pubdate" datetime="{:date('Y年m月d日',$article['time'])}">
            {:date('Y年m月d日',$article['time'])}
        </time>
        •
        分类：
        <a href="list.html">{$article.category.cname}</a>
    </div>
    <div class="_digest">
        <img src="{$article.thumb}" class="img-responsive center-block"/>
        <p>
            摘要: <br>
            <code>{$article.zhaiyao}</code>
        </p>
    </div>
    <div class="_more">
        <a href="{:url('content',['id'=>$article['aid']])}" class="btn btn-default">阅读全文</a>
    </div>
    <div class="_footer">
        <i class="glyphicon glyphicon-tags"></i>
        {volist name="article.tags" id="tag"}
        <a href="{:url('taglist',['tid'=>$tag['tid']])}">{$tag.tname}</a>
        {/volist}
    </div>
</article>
{/volist}
<!--分页-->
{$articles->render()}